home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / scuttler.gsh < prev    next >
Text File  |  2000-09-09  |  3KB  |  195 lines

  1. // defines Scuttlers
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_SCUTTLERS_GSH
  8. #define INCLUDED_SCUTTLERS_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_ScuttlerA
  15. {
  16.     file "units\scuttler a.RIF"
  17.     name "scuttler a"
  18.     hotspot "dum flash"
  19. }
  20.  
  21. hierarchy Hcy_ScuttlerB
  22. {
  23.     file "units\scuttler b.RIF"
  24.     name "scuttler b"
  25.     hotspot "dum flash"
  26. }
  27.  
  28. hierarchy Hcy_ScuttlerC
  29. {
  30.     file "units\scuttler c.RIF"
  31.     name "scuttler c"
  32.     hotspot "dum flash"
  33. }
  34.  
  35. hierarchy Hcy_ScuttlerD
  36. {
  37.     file "units\scuttler d.RIF"
  38.     name "scuttler d"
  39.     hotspot "dum flash"
  40. }
  41.  
  42. hierarchy Hcy_ScuttlerE
  43. {
  44.     file "units\scuttler e.RIF"
  45.     name "scuttler e"
  46.     hotspot "dum flash"
  47. }
  48.  
  49. hierarchy Hcy_ScuttlerF
  50. {
  51.     file "units\scuttler f.RIF"
  52.     name "scuttler f"
  53.     hotspot "dum flash"
  54. }
  55.  
  56. hierarchy Hcy_Scuttler_Node
  57. {
  58.     file "units\scuttler node.RIF"
  59.     name "scuttler node"
  60.     hotspot "scuttler base"
  61. }
  62.  
  63. character Chr_Scuttler : Chr_DefaultBaddie
  64. {
  65.     turning speed    0.4
  66.     walking speed    1
  67.     strength        1    // one shot and it's scuttler ick
  68.     aim                5
  69.     sight angle        70    // in degrees
  70.     sight range     15    // in metres
  71.     hearing range    25    // in metres
  72.     aggression        1    // from 0 to 1
  73. }
  74.  
  75. character Chr_Scuttler_Node : Chr_DefaultBaddie
  76. {
  77.     turning speed    0
  78.     walking speed    0
  79.     strength        4
  80.     aim                5
  81.     sight angle        89    // in degrees
  82.     sight range     15    // in metres
  83.     hearing range    25    // in metres
  84.     aggression        1    // actually scuttlers produced per second.
  85. }
  86.  
  87. role Rol_ScuttlerA : Rol_DefaultRobot
  88. {
  89.     shape            Hcy_ScuttlerA
  90.  
  91.     character        Chr_Scuttler
  92.  
  93.     identifier        "scuttler_a"
  94.  
  95.     destructibility    Des_Splatter
  96.  
  97.     ai                swarm
  98.  
  99.     limit            25                // damage done
  100. }
  101.  
  102. role Rol_ScuttlerB : Rol_DefaultRobot
  103. {
  104.     shape            Hcy_ScuttlerB
  105.  
  106.     character        Chr_Scuttler
  107.  
  108.     identifier        "scuttler_b"
  109.  
  110.     destructibility    Des_Splatter
  111.  
  112.     ai                swarm
  113.  
  114.     limit            25                // damage done
  115. }
  116.  
  117. role Rol_ScuttlerC : Rol_DefaultRobot
  118. {
  119.     shape            Hcy_ScuttlerC
  120.  
  121.     character        Chr_Scuttler
  122.  
  123.     identifier        "scuttler_c"
  124.  
  125.     destructibility    Des_Splatter
  126.  
  127.     ai                swarm
  128.  
  129.     limit            25                // damage done
  130. }
  131.  
  132. role Rol_ScuttlerD : Rol_DefaultRobot
  133. {
  134.     shape            Hcy_ScuttlerD
  135.  
  136.     character        Chr_Scuttler
  137.  
  138.     identifier        "scuttler_d"
  139.  
  140.     destructibility    Des_Splatter
  141.  
  142.     ai                swarm
  143.  
  144.     limit            25                // damage done
  145. }
  146.  
  147. role Rol_ScuttlerE : Rol_DefaultRobot
  148. {
  149.     shape            Hcy_ScuttlerE
  150.  
  151.     character        Chr_Scuttler
  152.  
  153.     identifier        "scuttler_e"
  154.  
  155.     destructibility    Des_Splatter
  156.  
  157.     ai                swarm
  158.  
  159.     limit            25                // damage done
  160. }
  161.  
  162. role Rol_ScuttlerF : Rol_DefaultRobot
  163. {
  164.     shape            Hcy_ScuttlerF
  165.  
  166.     character        Chr_Scuttler
  167.  
  168.     identifier        "scuttler_f"
  169.  
  170.     destructibility    Des_Splatter
  171.  
  172.     ai                swarm
  173.  
  174.     limit            25                // damage done
  175. }
  176.  
  177. role Rol_Scuttler_Node : Rol_DefaultRobot
  178. {
  179.     shape            Hcy_Scuttler_Node
  180.  
  181.     character        Chr_Scuttler_Node
  182.  
  183.     identifier        "scuttler_node"
  184.  
  185.     destructibility    Des_Explode
  186.  
  187.     ai                node
  188.  
  189.     produces        "scuttler_a,scuttler_b,scuttler_c,scuttler_d,scuttler_e,scuttler_f"
  190. }
  191.  
  192. ////////////////////////////////////////////////////////////////////////////////////
  193.  
  194. // end wrapper - for preventing multiple or recursive inclusions
  195. #endif // !INCLUDED_SCUTTLERS_GSH